package com.mushuilingfeng.ddd.framework.event;

/**
 * 事件订阅
 *
 * @author
 * @date 2024/6/24
 */
public interface IDomainEventSubscribe {

    void subscribe(Class<? extends IDomainEvent> eventCls, IDomainEventListener<? extends IDomainEvent> listener);

}
